<?php
	$i = 0;
	foreach ($results as $canbo):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr class="objects">
		<td><?php echo $canbo['Canbo']['id']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['mscb']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($canbo['Phuongxa']['tenphuongxa'], array('controller' => 'phuongxas', 'action' => 'view', $canbo['Phuongxa']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($canbo['Tongiao']['tentongiao'], array('controller' => 'tongiaos', 'action' => 'view', $canbo['Tongiao']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($canbo['Dantoc']['tendantoc'], array('controller' => 'dantocs', 'action' => 'view', $canbo['Dantoc']['id'])); ?>
		</td>
		<td><?php echo $canbo['Canbo']['hoten']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngaysinh']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['noisinh']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['phai']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['diachi']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['sodienthoai']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['email']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['namvaonghe']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngayvaodoan']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['noivaodoan']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngayvaodang']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['noivaodang']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ngayttdoan']; ?>&nbsp;</td>
		<td><?php echo $canbo['Canbo']['ghichu']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $canbo['Canbo']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $canbo['Canbo']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $canbo['Canbo']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $canbo['Canbo']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	